package main

import "go.uber.org/zap"

func main() {
	logger, _ := zap.NewProduction()
	defer logger.Sync()
	sugar := logger.Sugar()
	sugar.Infow("failed to fetch url", "url", "http://www.baidu.com")
	sugar.Infof("fail connect url %s", "http://www.zyb.com")
}
